/**
 * output package name
 */
package com.kingdee.eas.hr.train;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class CompletionEnum extends IntEnum
{
    public static final int GRADUATION_VALUE = 1;
    public static final int POSTS_VALUE = 2;

    public static final CompletionEnum GRADUATION = new CompletionEnum("GRADUATION", GRADUATION_VALUE);
    public static final CompletionEnum POSTS = new CompletionEnum("POSTS", POSTS_VALUE);

    /**
     * construct function
     * @param integer completionEnum
     */
    private CompletionEnum(String name, int completionEnum)
    {
        super(name, completionEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CompletionEnum getEnum(String completionEnum)
    {
        return (CompletionEnum)getEnum(CompletionEnum.class, completionEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static CompletionEnum getEnum(int completionEnum)
    {
        return (CompletionEnum)getEnum(CompletionEnum.class, completionEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CompletionEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CompletionEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CompletionEnum.class);
    }
}